fix: [UIE-9258, 9488] - DBaaS Backup / delete dialog bugs#13355
fix: [UIE-9258, 9488] - DBaaS Backup / delete dialog bugs#13355hana-akamai merged 7 commits intolinode:developfrom
Conversation
...ages/manager/src/features/Databases/DatabaseDetail/DatabaseBackups/DatabaseBackupsDialog.tsx
Show resolved
Hide resolved
...ages/manager/src/features/Databases/DatabaseDetail/DatabaseBackups/DatabaseBackupsDialog.tsx
Outdated
Show resolved
Hide resolved
...ages/manager/src/features/Databases/DatabaseDetail/DatabaseBackups/DatabaseBackupsDialog.tsx
Outdated
Show resolved
Hide resolved
| </Typography> | ||
| )} | ||
| {configs.map((config, index) => ( | ||
| {fields.map((config, index) => ( |
There was a problem hiding this comment.
Squeezing a small bug fix from #13350, no need for changeset since it hasn't been released yet.
Add a config option, then delete it by clicking x, you should not see undefined
Cloud Manager UI test results🔺 1 failing test on test run #4 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: pnpm cy:run -s "cypress/e2e/core/linodes/clone-linode.spec.ts" |
|||||||||||||||||
There was a problem hiding this comment.
Followed the different verification steps and the bugs have been addressed! There is one additional change that we should address for the backups bug ticket that I've added in a separate comment.
UPDATE: After reviewing, this will be looked into separately!
| disabled={ | ||
| versionOption === 'dateTime' && | ||
| (!date || !time || !!errors.time) | ||
| Boolean(unableToRestoreCopy) || |
There was a problem hiding this comment.
For UIE-9258, in addition to the fix for the Backups Restore button disabling behavior, QA had suggested a change to the message we display when the first backup isn't available.
From the comments under the ticket, it isn't clear when the first backup would be completed from the current message. We should address this as part of the work for this ticket as well.
There was a problem hiding this comment.
UPDATE: After reviewing, this issue will be looked into separately!
smans-akamai
left a comment
There was a problem hiding this comment.
After discussing the text change mentioned in my other comment, we're going to clarify whether that change needs to be made and handle it in a separate ticket!
For now, the bugs have been resolved, so this pull request should be good to go!
Description 📝
Fix Database Cluster restore backups / delete dialog bugs
Changes 🔄
newest full backup plus incrementaloption if a first backup hasn't been completed yetScope 🚢
Upon production release, changes in this PR will be visible to:
Target release date 🗓️
Next release
Preview 📷
error.mov
delete.error.mov
How to test 🧪
Reproduction steps
Backups:
Restorebutton is enabled for theNewest full backup plus incrementaloptionDelete:
Verification steps
Backups:
Restorebutton is disabled for theNewest full backup plus incrementaloption with a tooltip explanationDatabaseBackups.tsxline ~318, remove the check forBoolean(unableToRestoreCopy)to enable the restore buttonDelete:
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅